<!DOCTYPE html>
<html>

<head>
    <title>预防针预约系统</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <style>
        /* Make the image fully responsive */
    </style>
</head>

<body style="background-color: rgb(128, 230, 128);">
    <nav class="navbar navbar-expand-md bg-success navbar-dark fixed-top">
        <a class="navbar-brand" href="{:url('home/index')}">首页</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="collapsibleNavbar">
            <ul class="navbar-nav justify-content-center">
                <!-- <li class="nav-item">
                  <a class="navbar-brand" href="#">首页</a>
                </li> -->
                <li class="nav-item">
                    <a class="navbar-brand" href="{:url('appointment/index')}">进行预约</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('progress/index')}">预约进度</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('me/index')}">个人中心</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('index/logout')}">注销</a>
                  </li>
            </ul>
        </div>
    </nav>
    <div class="container" style="margin-top:65px;">
        
    </div>
    <div id="test" class="container" style="padding: 0 10;margin-top: 5px;">
        {volist name="res" id="vo"}
         <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body">
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">{$vo.vaccine_name}</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">打针年龄:</div>
                    <div class="p-1 ml-auto ">{$vo.vaccine_age}个月</div>
                </div>
                <div class="clearfix">
                    <span class="float-left">作用:</span>
                    <span class="float-right">{$vo.vaccine_effect}</span>
                  </div>
            </div>
        </div>
        {/volist}
        
    </div>
    <div class="bg-light fixed-bottom " style="margin-bottom:0;padding: 0 0;">
        <div>
            <p class="text-center">@2020-tch</p>
        </div>
    </div>
</body>
<script>
    document.getElementById("test").children[document.getElementById("test").children.length-1].style.marginBottom =60 + 'px' ;
</script>

</html>